package com.team.kgc.grade.mapper;

import com.team.kgc.grade.entity.Student;
import com.team.kgc.grade.entity.StudentCondtion;
import com.team.kgc.grade.entity.StudentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface StudentMapper {
    int deleteByPrimaryKey(Integer xh);

    int insert(Student record);

    int insertSelective(Student record);

    List<Student> selectByExample(StudentExample example);

    Student selectByPrimaryKey(Integer xh);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    int deleteStudentByGid(Integer gid);

    List<Student> selectStuByCondtion (StudentCondtion studentCondtion); //条件分页查

    List<Student> selectStuByGrade();//链表连查


}